<template>
  <div>
		<Header/>
		<!-- 导航区域 -->
		<!-- <div class="col-xs-2 col-xs-offset-2">
            曾经在传统html中，我们靠a标签实现不同的页面跳转
			<a class="list-group-item active" href="./about.html">About</a>
			<a class="list-group-item" href="./home.html">Home</a>
		</div> -->
        <div class="col-xs-2 col-xs-offset-2">
			<router-link class="list-group-item" active-class="active" to="/about">About</router-link>
			<router-link class="list-group-item" active-class="active" to="/home">Home</router-link>
		</div>
		<!-- 展示区 -->
		<div class="col-xs-6 panel-body">
            <!-- 使用router-view 表明匹配上的路由组件在哪里展示 -->
		<router-view></router-view>
		</div>
	</div>
</template>

<script>
import Header from './components/Header'
export default {
  name: 'App', 
  components:{Header}
}
</script>

